home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global mmlp4, mmlp5, mmlp1, mmlp2, mmlp3, mm1_list, mm2_list, mm3_list, mm4_list, mm5_list, nuoliblendsuunta
- DefCurs()
- set bl to the blend of sprite 20
- if nuoliblendsuunta = 1 then
- set bl to bl - 5
- if bl < 0 then
- set bl to 0
- set nuoliblendsuunta to 2
- end if
- else
- set bl to bl + 5
- if bl > 100 then
- set bl to 100
- set nuoliblendsuunta to 1
- end if
- end if
- set the blend of sprite 20 to bl
- if rollOver(3) or (mmlp5 <> 1) then
- set mmlp5 to mmlp5 + 1
- if getAt(mm5_list, mmlp5) = "_loop" then
- set mmlp5 to 1
- end if
- set the member of sprite 18 to member getAt(mm5_list, mmlp5) of castLib "main_menu_icons"
- end if
- if rollOver(4) or (mmlp4 <> 1) then
- set mmlp4 to mmlp4 + 1
- if getAt(mm4_list, mmlp4) = "_loop" then
- set mmlp4 to 1
- end if
- set the member of sprite 17 to member getAt(mm4_list, mmlp4) of castLib "main_menu_icons"
- end if
- if rollOver(5) then
- set mmlp1 to mmlp1 + 1
- if getAt(mm1_list, mmlp1) = "_loop" then
- set mmlp1 to 1
- end if
- set the member of sprite 14 to member getAt(mm1_list, mmlp1) of castLib "main_menu_icons"
- end if
- if rollOver(15) then
- set mmlp2 to mmlp2 + 1
- if getAt(mm2_list, mmlp2) = "_loop" then
- set mmlp2 to 1
- end if
- set the member of sprite 15 to member getAt(mm2_list, mmlp2) of castLib "main_menu_icons"
- end if
- if rollOver(6) then
- set mmlp3 to mmlp3 + 1
- if getAt(mm3_list, mmlp3) = "_loop" then
- set mmlp3 to 1
- end if
- set the member of sprite 16 to member getAt(mm3_list, mmlp3) of castLib "main_menu_icons"
- end if
- go(the frame)
- end
-